package com.zhekou.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class UserController {
   @Autowired
    private  UserFeign feign;

    @RequestMapping("login")
    public String login(String hname,String hpwd){
        return feign.login(hname,hpwd);
    }
}
